﻿using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Threading.Tasks;
//using System.Web.DynamicData;
using OA.Model;
using OA.Model.MyAttribute;
using OA.Core;
using System;


namespace OA.Model
{
    /// <summary>
    /// 事务提醒 status 1 关闭提醒
    /// </summary>
    [Table("AffairAlert")]
    //[TableName("事务提醒")]
    public class AffairAlert : BaseInfo
    {
        public int Status { get; set; }

        /// <summary>
        /// 填报日期 2018-12-18
        /// </summary>
        [Display(Name = "开始提醒日期")]
        [MaxLength(10)]
        [Tag(TagEnum.DateTime, "required", "开始提醒日期", 3, 20)]
        public string StartDateTime { get; set; }

        /// <summary>
        /// 填报日期 2018-12-18
        /// </summary>
        [Display(Name = "结束提醒日期")]
        [MaxLength(10)]
        [Tag(TagEnum.DateTime, "required", "结束提醒日期", 3, 20)]
        public string EndDateTime { get; set; }

        [MaxLength(10)]
        public string EmpID { get; set; }


        [Display(Name = "提醒内容")]
        [MaxLength(500)]
        [Tag(TagEnum.TextArea, "required", "填报内容", 3, 20)]
        public string Details { get; set; }
    }
}
